﻿<UserControl x:Class="SlideView.Sample.Pages.LeftView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             mc:Ignorable="d"
             FontFamily="{StaticResource PhoneFontFamilyNormal}"
             FontSize="{StaticResource PhoneFontSizeNormal}"
             Foreground="{StaticResource PhoneForegroundBrush}"
             d:DesignHeight="480"
             d:DesignWidth="480">
    
    <UserControl.Resources>
        <Style TargetType="Button" x:Key="MenuButtonStyle">
            <Setter Property="BorderThickness" Value="0"/>
            <Setter Property="Background"
                    Value="#48649F"/>
            <Setter Property="Padding" Value="6,12"/>
        </Style>
    </UserControl.Resources>

    <Grid x:Name="LayoutRoot"
          Background="DimGray">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <Grid Background="#10000000">
            <TextBlock Margin="6,12"
                       HorizontalAlignment="Center"
                       Style="{StaticResource PhoneTextTitle2Style}"
                       Text="Left View" />
        </Grid>

        <Grid Grid.Row="1">
            <StackPanel>
                <Button Content="Main"
                        Style="{StaticResource MenuButtonStyle}"
                        Click="MainButton_OnClick" />
                <Button Content="Test"
                        Style="{StaticResource MenuButtonStyle}"
                        Click="TestButton_OnClick" />
                <Button Content="About"
                        Style="{StaticResource MenuButtonStyle}"
                        Click="AboutButton_OnClick" />
            </StackPanel>
        </Grid>
    </Grid>
</UserControl>